home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Tele / C / Comet2.1.3 Folder / include / cntldefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-07-21  |  946 b   |  51 lines  |  [TEXT/????]

  1. /*
  2.     Copyright Cornell University 1986.  All rights are reserved.
  3.  
  4. */
  5.  
  6. /* quadrant 1 IBM terminal control defs */
  7. #define Q1BUT1    0
  8. #define Q1BUT2    1
  9. #define Q1BUT3    2
  10. #define Q1BUT4    3
  11. #define Q1BUT5    4
  12. #define Q1BUT6    5
  13. #define Q1BUT7    6
  14. #define Q1BUT8    7
  15. #define Q1BUT9    8
  16. #define Q1BUT10    9
  17. #define Q1BUT11    10
  18.  
  19. /* quadrant 1 ASCII terminal control defs */
  20. #define Q1CR    0
  21. #define Q1LF    1
  22. #define Q1ESC    2
  23. #define Q1CTLS    3
  24. #define Q1CTLQ    4
  25. #define Q1DEL    5
  26. #define Q1BREAK    6
  27. #define Q1CTLC    7
  28. #define Q1CTLU    8
  29. #define Q1IC    9
  30. #define Q1DC    10
  31.  
  32.  
  33. /* quadrant 2 non-standard "button" */
  34. /* dialog constants */
  35. #define Q3DIALQUIT    1
  36. #define Q3DIALSAVE    2
  37.  
  38. /* quadrant 3 non-standard "button" constants */
  39. #define BUT3HIGH    0
  40. #define BUT3WIDE    0
  41.     /* how oval are the 3rd quadrant buttons? */
  42.  
  43. /* resource numbers--different resources in same 
  44.  * (ibm/ascii)mode all have same value 
  45.  */
  46. #define ASCRES    128
  47. #define IBMRES    256
  48.  
  49. #define ABOUTRES    300
  50. #define ABOUTTNRES    301
  51.